import request from '@/utils/request'
//获得全部仓库仓库列表
export const getwarehouselist = () => request.get(`api/warehouse/list?status=1`)
//根据仓库列表获得库区列表
export const getarealist = (params) => request.get(`api/area/list`, { params })
//库区总览total
export const overview = id => request.get(`api/area/overview/${id}`)
//通过库区id查询库位详情
export const locationlistDetail =id=> request.get(`api/location/listDetail?areaId=${id}`)